package com.wocai.jrt.orgadmin.project.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProjectBean {
    /**
     * order by 排序语句
     * 对应数据库表字段 project
     */
    private String orderBy;

    /**
     * 分页开始记录
     * 对应数据库表字段 project
     */
    private Integer start;

    /**
     * 分页大小
     * 对应数据库表字段 project
     */
    private int pageSize = 10;

    /**
     * 是否指定 distinct 去除重复
     * 对应数据库表字段 project
     */
    private boolean distinct;

    /**
     * 逻辑or语句
     * 对应数据库表字段 project
     */
    private List<Criteria> oredCriteria;

    /**
     */
    public ProjectBean() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 设置 order by 排序语句
     */
    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    /**
     * 获得 order by 排序语句
     */
    public String getOrderBy() {
        return orderBy;
    }

    /**
     * 设置 start，分页开始记录
     */
    public void setStart(Integer start) {
        this.start = start;
    }

    /**
     * 获得 start，分页开始记录
     */
    public Integer getStart() {
        return start;
    }

    /**
     * 设置 pageSize，分页大小
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 获得 pageSize，分页大小
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * 设置是否指定 distinct 去除重复
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 是否设置了distinct语句，true是，false否。
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 获得逻辑or语句
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * 添加逻辑or语句
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * 添加逻辑and语句
     */
    public void and(Criteria criteria) {
        criteria.setAndRelation(true);
        oredCriteria.add(criteria);
    }

    /**
     * 新建逻辑或or语句
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 新建逻辑and语句
     */
    public Criteria and() {
        Criteria criteria = createCriteriaInternal();
        criteria.setAndRelation(true);
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 创建查询条件，如果逻辑或为空，同时将查询条件放入。
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 创建新查询条件。
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除逻辑或or语句，并且distinct为false，不去重。
     */
    public void clear() {
        oredCriteria.clear();
    }

    /**
     * 该类对应数据库表 project
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void orCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition, true));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void orCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value, true));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void orCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2, true));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdIsNull() {
            orCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria orIdIsNotNull() {
            orCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria orIdEqualTo(String value) {
            orCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotEqualTo(String value) {
            orCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdGreaterThan(String value) {
            orCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdGreaterThanOrEqualTo(String value) {
            orCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLessThan(String value) {
            orCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLessThanOrEqualTo(String value) {
            orCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdLike(String value) {
            orCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotLike(String value) {
            orCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria orIdIn(List<String> values) {
            orCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotIn(List<String> values) {
            orCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria orIdBetween(String value1, String value2) {
            orCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria orIdNotBetween(String value1, String value2) {
            orCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeIsNull() {
            orCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria orCodeIsNotNull() {
            orCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria orCodeEqualTo(String value) {
            orCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeNotEqualTo(String value) {
            orCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeGreaterThan(String value) {
            orCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeGreaterThanOrEqualTo(String value) {
            orCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeLessThan(String value) {
            orCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeLessThanOrEqualTo(String value) {
            orCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeLike(String value) {
            orCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria orCodeNotLike(String value) {
            orCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria orCodeIn(List<String> values) {
            orCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria orCodeNotIn(List<String> values) {
            orCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria orCodeBetween(String value1, String value2) {
            orCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria orCodeNotBetween(String value1, String value2) {
            orCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameIsNull() {
            orCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria orNameIsNotNull() {
            orCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria orNameEqualTo(String value) {
            orCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotEqualTo(String value) {
            orCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameGreaterThan(String value) {
            orCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameGreaterThanOrEqualTo(String value) {
            orCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameLessThan(String value) {
            orCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameLessThanOrEqualTo(String value) {
            orCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameLike(String value) {
            orCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotLike(String value) {
            orCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria orNameIn(List<String> values) {
            orCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotIn(List<String> values) {
            orCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria orNameBetween(String value1, String value2) {
            orCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria orNameNotBetween(String value1, String value2) {
            orCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria orTypeIsNull() {
            orCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria orTypeIsNotNull() {
            orCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria orTypeEqualTo(Integer value) {
            orCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria orTypeNotEqualTo(Integer value) {
            orCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria orTypeGreaterThan(Integer value) {
            orCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria orTypeGreaterThanOrEqualTo(Integer value) {
            orCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria orTypeLessThan(Integer value) {
            orCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria orTypeLessThanOrEqualTo(Integer value) {
            orCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria orTypeIn(List<Integer> values) {
            orCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria orTypeNotIn(List<Integer> values) {
            orCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria orTypeBetween(Integer value1, Integer value2) {
            orCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria orTypeNotBetween(Integer value1, Integer value2) {
            orCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdIsNull() {
            addCriterion("invest_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdIsNotNull() {
            addCriterion("invest_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdEqualTo(String value) {
            addCriterion("invest_employee_id =", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdNotEqualTo(String value) {
            addCriterion("invest_employee_id <>", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdGreaterThan(String value) {
            addCriterion("invest_employee_id >", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdGreaterThanOrEqualTo(String value) {
            addCriterion("invest_employee_id >=", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdLessThan(String value) {
            addCriterion("invest_employee_id <", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdLessThanOrEqualTo(String value) {
            addCriterion("invest_employee_id <=", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdIsNull() {
            orCriterion("invest_employee_id is null");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdIsNotNull() {
            orCriterion("invest_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdEqualTo(String value) {
            orCriterion("invest_employee_id =", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdNotEqualTo(String value) {
            orCriterion("invest_employee_id <>", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdGreaterThan(String value) {
            orCriterion("invest_employee_id >", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdGreaterThanOrEqualTo(String value) {
            orCriterion("invest_employee_id >=", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdLessThan(String value) {
            orCriterion("invest_employee_id <", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdLessThanOrEqualTo(String value) {
            orCriterion("invest_employee_id <=", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdLike(String value) {
            addCriterion("invest_employee_id like", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdNotLike(String value) {
            addCriterion("invest_employee_id not like", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdLike(String value) {
            orCriterion("invest_employee_id like", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdNotLike(String value) {
            orCriterion("invest_employee_id not like", value, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdIn(List<String> values) {
            addCriterion("invest_employee_id in", values, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdNotIn(List<String> values) {
            addCriterion("invest_employee_id not in", values, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdBetween(String value1, String value2) {
            addCriterion("invest_employee_id between", value1, value2, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andInvestEmployeeIdNotBetween(String value1, String value2) {
            addCriterion("invest_employee_id not between", value1, value2, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdIn(List<String> values) {
            orCriterion("invest_employee_id in", values, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdNotIn(List<String> values) {
            orCriterion("invest_employee_id not in", values, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdBetween(String value1, String value2) {
            orCriterion("invest_employee_id between", value1, value2, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria orInvestEmployeeIdNotBetween(String value1, String value2) {
            orCriterion("invest_employee_id not between", value1, value2, "investEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdIsNull() {
            addCriterion("law_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdIsNotNull() {
            addCriterion("law_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdEqualTo(String value) {
            addCriterion("law_employee_id =", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdNotEqualTo(String value) {
            addCriterion("law_employee_id <>", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdGreaterThan(String value) {
            addCriterion("law_employee_id >", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdGreaterThanOrEqualTo(String value) {
            addCriterion("law_employee_id >=", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdLessThan(String value) {
            addCriterion("law_employee_id <", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdLessThanOrEqualTo(String value) {
            addCriterion("law_employee_id <=", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdIsNull() {
            orCriterion("law_employee_id is null");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdIsNotNull() {
            orCriterion("law_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdEqualTo(String value) {
            orCriterion("law_employee_id =", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdNotEqualTo(String value) {
            orCriterion("law_employee_id <>", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdGreaterThan(String value) {
            orCriterion("law_employee_id >", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdGreaterThanOrEqualTo(String value) {
            orCriterion("law_employee_id >=", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdLessThan(String value) {
            orCriterion("law_employee_id <", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdLessThanOrEqualTo(String value) {
            orCriterion("law_employee_id <=", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdLike(String value) {
            addCriterion("law_employee_id like", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdNotLike(String value) {
            addCriterion("law_employee_id not like", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdLike(String value) {
            orCriterion("law_employee_id like", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdNotLike(String value) {
            orCriterion("law_employee_id not like", value, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdIn(List<String> values) {
            addCriterion("law_employee_id in", values, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdNotIn(List<String> values) {
            addCriterion("law_employee_id not in", values, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdBetween(String value1, String value2) {
            addCriterion("law_employee_id between", value1, value2, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andLawEmployeeIdNotBetween(String value1, String value2) {
            addCriterion("law_employee_id not between", value1, value2, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdIn(List<String> values) {
            orCriterion("law_employee_id in", values, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdNotIn(List<String> values) {
            orCriterion("law_employee_id not in", values, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdBetween(String value1, String value2) {
            orCriterion("law_employee_id between", value1, value2, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria orLawEmployeeIdNotBetween(String value1, String value2) {
            orCriterion("law_employee_id not between", value1, value2, "lawEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountIsNull() {
            orCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria orAmountIsNotNull() {
            orCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria orAmountEqualTo(BigDecimal value) {
            orCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountNotEqualTo(BigDecimal value) {
            orCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountGreaterThan(BigDecimal value) {
            orCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountGreaterThanOrEqualTo(BigDecimal value) {
            orCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountLessThan(BigDecimal value) {
            orCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountLessThanOrEqualTo(BigDecimal value) {
            orCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountIn(List<BigDecimal> values) {
            orCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountNotIn(List<BigDecimal> values) {
            orCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria orAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedIsNull() {
            addCriterion("amount_invested is null");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedIsNotNull() {
            addCriterion("amount_invested is not null");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedEqualTo(BigDecimal value) {
            addCriterion("amount_invested =", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedNotEqualTo(BigDecimal value) {
            addCriterion("amount_invested <>", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedGreaterThan(BigDecimal value) {
            addCriterion("amount_invested >", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount_invested >=", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedLessThan(BigDecimal value) {
            addCriterion("amount_invested <", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount_invested <=", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedIsNull() {
            orCriterion("amount_invested is null");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedIsNotNull() {
            orCriterion("amount_invested is not null");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedEqualTo(BigDecimal value) {
            orCriterion("amount_invested =", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedNotEqualTo(BigDecimal value) {
            orCriterion("amount_invested <>", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedGreaterThan(BigDecimal value) {
            orCriterion("amount_invested >", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedGreaterThanOrEqualTo(BigDecimal value) {
            orCriterion("amount_invested >=", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedLessThan(BigDecimal value) {
            orCriterion("amount_invested <", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedLessThanOrEqualTo(BigDecimal value) {
            orCriterion("amount_invested <=", value, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedIn(List<BigDecimal> values) {
            addCriterion("amount_invested in", values, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedNotIn(List<BigDecimal> values) {
            addCriterion("amount_invested not in", values, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount_invested between", value1, value2, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andAmountInvestedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount_invested not between", value1, value2, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedIn(List<BigDecimal> values) {
            orCriterion("amount_invested in", values, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedNotIn(List<BigDecimal> values) {
            orCriterion("amount_invested not in", values, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("amount_invested between", value1, value2, "amountInvested");
            return (Criteria) this;
        }

        public Criteria orAmountInvestedNotBetween(BigDecimal value1, BigDecimal value2) {
            orCriterion("amount_invested not between", value1, value2, "amountInvested");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(String value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(String value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(String value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(String value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(String value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdIsNull() {
            orCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdIsNotNull() {
            orCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdEqualTo(String value) {
            orCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotEqualTo(String value) {
            orCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdGreaterThan(String value) {
            orCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdGreaterThanOrEqualTo(String value) {
            orCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdLessThan(String value) {
            orCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdLessThanOrEqualTo(String value) {
            orCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLike(String value) {
            addCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotLike(String value) {
            addCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdLike(String value) {
            orCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotLike(String value) {
            orCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<String> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<String> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(String value1, String value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(String value1, String value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdIn(List<String> values) {
            orCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotIn(List<String> values) {
            orCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdBetween(String value1, String value2) {
            orCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria orEnterpriseIdNotBetween(String value1, String value2) {
            orCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeIsNull() {
            addCriterion("guarantee_type is null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeIsNotNull() {
            addCriterion("guarantee_type is not null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeEqualTo(Integer value) {
            addCriterion("guarantee_type =", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeNotEqualTo(Integer value) {
            addCriterion("guarantee_type <>", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeGreaterThan(Integer value) {
            addCriterion("guarantee_type >", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("guarantee_type >=", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeLessThan(Integer value) {
            addCriterion("guarantee_type <", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeLessThanOrEqualTo(Integer value) {
            addCriterion("guarantee_type <=", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeIsNull() {
            orCriterion("guarantee_type is null");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeIsNotNull() {
            orCriterion("guarantee_type is not null");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeEqualTo(Integer value) {
            orCriterion("guarantee_type =", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeNotEqualTo(Integer value) {
            orCriterion("guarantee_type <>", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeGreaterThan(Integer value) {
            orCriterion("guarantee_type >", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeGreaterThanOrEqualTo(Integer value) {
            orCriterion("guarantee_type >=", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeLessThan(Integer value) {
            orCriterion("guarantee_type <", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeLessThanOrEqualTo(Integer value) {
            orCriterion("guarantee_type <=", value, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeIn(List<Integer> values) {
            addCriterion("guarantee_type in", values, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeNotIn(List<Integer> values) {
            addCriterion("guarantee_type not in", values, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeBetween(Integer value1, Integer value2) {
            addCriterion("guarantee_type between", value1, value2, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("guarantee_type not between", value1, value2, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeIn(List<Integer> values) {
            orCriterion("guarantee_type in", values, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeNotIn(List<Integer> values) {
            orCriterion("guarantee_type not in", values, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeBetween(Integer value1, Integer value2) {
            orCriterion("guarantee_type between", value1, value2, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria orGuaranteeTypeNotBetween(Integer value1, Integer value2) {
            orCriterion("guarantee_type not between", value1, value2, "guaranteeType");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdIsNull() {
            addCriterion("guarantee_enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdIsNotNull() {
            addCriterion("guarantee_enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdEqualTo(String value) {
            addCriterion("guarantee_enterprise_id =", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdNotEqualTo(String value) {
            addCriterion("guarantee_enterprise_id <>", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdGreaterThan(String value) {
            addCriterion("guarantee_enterprise_id >", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdGreaterThanOrEqualTo(String value) {
            addCriterion("guarantee_enterprise_id >=", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdLessThan(String value) {
            addCriterion("guarantee_enterprise_id <", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdLessThanOrEqualTo(String value) {
            addCriterion("guarantee_enterprise_id <=", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdIsNull() {
            orCriterion("guarantee_enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdIsNotNull() {
            orCriterion("guarantee_enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdEqualTo(String value) {
            orCriterion("guarantee_enterprise_id =", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdNotEqualTo(String value) {
            orCriterion("guarantee_enterprise_id <>", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdGreaterThan(String value) {
            orCriterion("guarantee_enterprise_id >", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdGreaterThanOrEqualTo(String value) {
            orCriterion("guarantee_enterprise_id >=", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdLessThan(String value) {
            orCriterion("guarantee_enterprise_id <", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdLessThanOrEqualTo(String value) {
            orCriterion("guarantee_enterprise_id <=", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdLike(String value) {
            addCriterion("guarantee_enterprise_id like", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdNotLike(String value) {
            addCriterion("guarantee_enterprise_id not like", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdLike(String value) {
            orCriterion("guarantee_enterprise_id like", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdNotLike(String value) {
            orCriterion("guarantee_enterprise_id not like", value, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdIn(List<String> values) {
            addCriterion("guarantee_enterprise_id in", values, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdNotIn(List<String> values) {
            addCriterion("guarantee_enterprise_id not in", values, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdBetween(String value1, String value2) {
            addCriterion("guarantee_enterprise_id between", value1, value2, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEnterpriseIdNotBetween(String value1, String value2) {
            addCriterion("guarantee_enterprise_id not between", value1, value2, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdIn(List<String> values) {
            orCriterion("guarantee_enterprise_id in", values, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdNotIn(List<String> values) {
            orCriterion("guarantee_enterprise_id not in", values, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdBetween(String value1, String value2) {
            orCriterion("guarantee_enterprise_id between", value1, value2, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria orGuaranteeEnterpriseIdNotBetween(String value1, String value2) {
            orCriterion("guarantee_enterprise_id not between", value1, value2, "guaranteeEnterpriseId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeIsNull() {
            orCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria orCreateTimeIsNotNull() {
            orCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria orCreateTimeEqualTo(Date value) {
            orCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeNotEqualTo(Date value) {
            orCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeGreaterThan(Date value) {
            orCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeGreaterThanOrEqualTo(Date value) {
            orCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeLessThan(Date value) {
            orCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeLessThanOrEqualTo(Date value) {
            orCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeIn(List<Date> values) {
            orCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeNotIn(List<Date> values) {
            orCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeBetween(Date value1, Date value2) {
            orCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria orCreateTimeNotBetween(Date value1, Date value2) {
            orCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria orStateIsNull() {
            orCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria orStateIsNotNull() {
            orCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria orStateEqualTo(Integer value) {
            orCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria orStateNotEqualTo(Integer value) {
            orCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria orStateGreaterThan(Integer value) {
            orCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria orStateGreaterThanOrEqualTo(Integer value) {
            orCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria orStateLessThan(Integer value) {
            orCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria orStateLessThanOrEqualTo(Integer value) {
            orCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria orStateIn(List<Integer> values) {
            orCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria orStateNotIn(List<Integer> values) {
            orCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria orStateBetween(Integer value1, Integer value2) {
            orCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria orStateNotBetween(Integer value1, Integer value2) {
            orCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andGradeIsNull() {
            addCriterion("grade is null");
            return (Criteria) this;
        }

        public Criteria andGradeIsNotNull() {
            addCriterion("grade is not null");
            return (Criteria) this;
        }

        public Criteria andGradeEqualTo(Integer value) {
            addCriterion("grade =", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotEqualTo(Integer value) {
            addCriterion("grade <>", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThan(Integer value) {
            addCriterion("grade >", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThanOrEqualTo(Integer value) {
            addCriterion("grade >=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThan(Integer value) {
            addCriterion("grade <", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThanOrEqualTo(Integer value) {
            addCriterion("grade <=", value, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeIsNull() {
            orCriterion("grade is null");
            return (Criteria) this;
        }

        public Criteria orGradeIsNotNull() {
            orCriterion("grade is not null");
            return (Criteria) this;
        }

        public Criteria orGradeEqualTo(Integer value) {
            orCriterion("grade =", value, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeNotEqualTo(Integer value) {
            orCriterion("grade <>", value, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeGreaterThan(Integer value) {
            orCriterion("grade >", value, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeGreaterThanOrEqualTo(Integer value) {
            orCriterion("grade >=", value, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeLessThan(Integer value) {
            orCriterion("grade <", value, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeLessThanOrEqualTo(Integer value) {
            orCriterion("grade <=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeIn(List<Integer> values) {
            addCriterion("grade in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotIn(List<Integer> values) {
            addCriterion("grade not in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeBetween(Integer value1, Integer value2) {
            addCriterion("grade between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotBetween(Integer value1, Integer value2) {
            addCriterion("grade not between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeIn(List<Integer> values) {
            orCriterion("grade in", values, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeNotIn(List<Integer> values) {
            orCriterion("grade not in", values, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeBetween(Integer value1, Integer value2) {
            orCriterion("grade between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria orGradeNotBetween(Integer value1, Integer value2) {
            orCriterion("grade not between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andFlowIdIsNull() {
            addCriterion("flow_id is null");
            return (Criteria) this;
        }

        public Criteria andFlowIdIsNotNull() {
            addCriterion("flow_id is not null");
            return (Criteria) this;
        }

        public Criteria andFlowIdEqualTo(String value) {
            addCriterion("flow_id =", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotEqualTo(String value) {
            addCriterion("flow_id <>", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdGreaterThan(String value) {
            addCriterion("flow_id >", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdGreaterThanOrEqualTo(String value) {
            addCriterion("flow_id >=", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdLessThan(String value) {
            addCriterion("flow_id <", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdLessThanOrEqualTo(String value) {
            addCriterion("flow_id <=", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdIsNull() {
            orCriterion("flow_id is null");
            return (Criteria) this;
        }

        public Criteria orFlowIdIsNotNull() {
            orCriterion("flow_id is not null");
            return (Criteria) this;
        }

        public Criteria orFlowIdEqualTo(String value) {
            orCriterion("flow_id =", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdNotEqualTo(String value) {
            orCriterion("flow_id <>", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdGreaterThan(String value) {
            orCriterion("flow_id >", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdGreaterThanOrEqualTo(String value) {
            orCriterion("flow_id >=", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdLessThan(String value) {
            orCriterion("flow_id <", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdLessThanOrEqualTo(String value) {
            orCriterion("flow_id <=", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdLike(String value) {
            addCriterion("flow_id like", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotLike(String value) {
            addCriterion("flow_id not like", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdLike(String value) {
            orCriterion("flow_id like", value, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdNotLike(String value) {
            orCriterion("flow_id not like", value, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdIn(List<String> values) {
            addCriterion("flow_id in", values, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotIn(List<String> values) {
            addCriterion("flow_id not in", values, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdBetween(String value1, String value2) {
            addCriterion("flow_id between", value1, value2, "flowId");
            return (Criteria) this;
        }

        public Criteria andFlowIdNotBetween(String value1, String value2) {
            addCriterion("flow_id not between", value1, value2, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdIn(List<String> values) {
            orCriterion("flow_id in", values, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdNotIn(List<String> values) {
            orCriterion("flow_id not in", values, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdBetween(String value1, String value2) {
            orCriterion("flow_id between", value1, value2, "flowId");
            return (Criteria) this;
        }

        public Criteria orFlowIdNotBetween(String value1, String value2) {
            orCriterion("flow_id not between", value1, value2, "flowId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(String value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(String value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(String value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(String value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(String value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdIsNull() {
            orCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria orOrgIdIsNotNull() {
            orCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria orOrgIdEqualTo(String value) {
            orCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotEqualTo(String value) {
            orCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdGreaterThan(String value) {
            orCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdGreaterThanOrEqualTo(String value) {
            orCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLessThan(String value) {
            orCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLessThanOrEqualTo(String value) {
            orCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(String value) {
            addCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(String value) {
            addCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdLike(String value) {
            orCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotLike(String value) {
            orCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<String> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<String> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(String value1, String value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(String value1, String value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdIn(List<String> values) {
            orCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotIn(List<String> values) {
            orCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdBetween(String value1, String value2) {
            orCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria orOrgIdNotBetween(String value1, String value2) {
            orCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }
    }

    /**
     * 该类对应数据库表 project
     */
    public static class Criteria extends GeneratedCriteria {
        protected boolean andRelation;

        public boolean isAndRelation() {
            return andRelation;
        }

        protected Criteria() {
            super();
        }

        public void setAndRelation(boolean andRelation) {
            this.andRelation = andRelation;
        }
    }

    /**
     * 该类对应数据库表 project
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean orValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isOrValue() {
            return orValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, boolean orValue) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
            this.orValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, boolean orValue) {
            this(condition, value, null);
            this.orValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, boolean orValue) {
            this(condition, value, secondValue, null);
            this.orValue = true;
        }
    }
}